package com.fastloan.mgt.customer.service.impl;

import com.fastloan.common.BasicServiceImpl;
import com.fastloan.mgt.customer.dao.ZyCustomerRiskMapper;
import com.fastloan.mgt.customer.model.vo.RiskCustomerExt;
import com.fastloan.mgt.customer.service.ZyCustomerRiskService;
import com.fastloan.mgt.customer.model.ZyCustomerRisk;
import com.kawins.supers.table.manager.DataTable;

import java.util.List;
import java.util.Map;

/**
 * @author gelon createTime 2017/11/11
 */
@org.springframework.stereotype.Service
public class ZyCustomerRiskServiceImpl extends BasicServiceImpl<ZyCustomerRisk> implements
    ZyCustomerRiskService {

    @org.springframework.beans.factory.annotation.Autowired
    private ZyCustomerRiskMapper zyCustomerRiskMapper;

    /**
     * 获取风险客户信息
     */
    @Override
    @DataTable(name = "getRisk")
    public List<RiskCustomerExt> getRisk(Map<String, Object> map) {
        return zyCustomerRiskMapper.getRisk(map);
    }
}
